.textWrap {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    height: 600px;

    &.ppt,
    &.pptx {
        .maskBottom {
            left: 65%;
            background: #444;
            height: 21px;
        }
    }

    &.doc,
    &.docx {
        .maskBottom {
            left: 150px;
            background: #f3f3f3;
            height: 21px;
        }
    }

    .maskTop {
        position: absolute;
        left: 0;
        top: 0;
        right: 0;
        height: 88px;
        color: #fff;
        font-weight: 500;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        background: #000 url('~@/assets/wenku_bg.jpg') no-repeat center;
        object-fit: cover;
        background-size: cover;

        .logo {
            display: inline-block;
            vertical-align: middle;
            width: 30px;
            height: 30px;
            margin-right: 16px;
            background: url('~@/assets/logo@3x.png') no-repeat center;
            background-size: 30px;
        }
    }

    .maskBottom {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        background: #fff;
        height: 15px;
    }
}
